import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// 全局CSS
import '@/assets/css/body.css'
// 淘宝无限适配
import '@/assets/js/flexible.js'
// 引入iconfont
import '@/assets/css/iconfont.css'

// 引入mint-ui
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)

// 引入vant
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  beforeCreate(){
    Vue.prototype.$bus = this
  },
  render: (h) => h(App),
}).$mount("#app");
